
$color: rgb(190, 2, 2);
.goods{
	border: solid 4px $color;
	display: grid;
	width: 90vw;
	grid-template-columns: repeat(5, 20%);
	grid-template-rows: repeat(2, 150px);
	grid-auto-flow: row dense;
	.goodsItem {
		position: relative;
		padding: 10px;
		border: 1px solid #e5e4e9;
	}

	.firstGoods {
		grid-column: 1 / 3;
		grid-row: 1 / 3;
	}
	.title{
		font-size: 20px;
	}
	.price{
		color: $color;
	}
	.btn{
		background-color: $color;
		color: white;
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
		width: 70px;
		height: 20px;
		line-height: 20px;
		font-size: 10px;
		padding: 2px 0 2px 5px;
		display: flex;
		align-items: center;
		cursor: pointer;
	}
	.btn:hover{
		opacity: 0.8;
	}
	img{
		z-index: -10;
		position: absolute;
		bottom: 10px;
		right: 10px;
	}
}


  /*手机*/
  @media screen and (max-width:600px) {
	.goods{
		width: 90vw;
		grid-template-columns: repeat(3, 33%);
		grid-template-rows: repeat(3, 150px);
	}
		.title {
			font-size: 12px !important;
		}
		img {
			bottom: 2px !important;
			right: 2px !important;
		}
  }